import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './plugins/element.js'
// 引入全局样式表
import './style/commen.less'
// 引入阿里云字体库
import './iconfont/iconfont.css'
// 引入axios
import {http} from "./service/api/index"
Vue.prototype.$http = http;
// import axios from 'axios'
// axios.defaults.baseURL = "http://120.25.126.174:8160/";
// Vue.prototype.$http = axios;
// 引入工具类
import {tools} from "./tools/index"
Vue.prototype.$tools = tools;

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App),
  beforeCreate() {
    Vue.prototype.$bus = this //安装全局事件总线,创建bus
  },
}).$mount('#app')

